package com.roomio.core.model;

import java.io.Serializable;

public abstract class BaseObject implements Serializable {

	protected boolean doAudit;

	public boolean isDoAudit() {
		return doAudit;
	}

	public void setDoAudit(boolean doAudit) {
		this.doAudit = doAudit;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (doAudit ? 1231 : 1237);
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BaseObject other = (BaseObject) obj;
		if (doAudit != other.doAudit)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "BaseObject [doAudit=" + doAudit + "]";
	}
	
	
	
}
